#curriculog-content.modern-ui.home-page {
    background: var(--proposal-page-surface);
}

/* The public welcome content now has its own Home page. Do not render the
   legacy welcome fragment in dashboard side panels under Modern UI. */
#curriculog-content.modern-ui #curriculog-dashboard-column > .welcome-page {
    display: none !important;
}

/* Keep the dashboard column available for the notifications board.  The
   legacy welcome fragment is hidden above, but logged-in users still need
   the notification and upcoming-event panels rendered in this column. */
#curriculog-content.modern-ui #curriculog-dashboard-column {
    display: none !important;
}

#curriculog-content.modern-ui #curriculog-dashboard-column.is-notifications-open {
    display: block !important;
}

.modern-ui .welcome-page-shell {
    min-height: calc(100vh - 72px);
    background: var(--proposal-surface);
}

.modern-ui .welcome-page-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 140px;
    padding: 48px 24px;
    background: var(--proposal-page-surface);
    border-bottom: 1px solid var(--proposal-border);
}

.modern-ui .welcome-page-hero-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(779px, 100%);
    min-height: 106px;
    background: var(--proposal-surface);
}

.modern-ui .welcome-page-hero-inner img {
    display: block;
    max-width: 100%;
    max-height: 106px;
    object-fit: contain;
}

.modern-ui .welcome-page-content {
    padding: 56px 24px 80px;
    background: var(--proposal-surface);
}

.modern-ui .welcome-page-content-inner {
    width: min(742px, 100%);
    margin: 0 auto;
    color: var(--proposal-text-body);
    font-family: "Gilroy", "Roboto", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: .28px;
}

.modern-ui .welcome-page-content-inner h1,
.modern-ui .welcome-page-content-inner h2,
.modern-ui .welcome-page-content-inner h3 {
    color: var(--proposal-text-heading);
    font-family: "Gilroy", "Roboto", Helvetica, Arial, sans-serif;
    font-weight: 800;
}

.modern-ui .welcome-page-content-inner h1 { font-size: 32px; }
.modern-ui .welcome-page-content-inner h2,
.modern-ui .welcome-page-content-inner h3 { font-size: 24px; }

/* The configurable welcome copy starts with its page title as a paragraph.
   Give that first block the Figma Heading/Card Title treatment. */
.modern-ui .welcome-page-content-inner > p:first-child {
    color: var(--proposal-text-heading);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: normal;
}

@media (max-width: 700px) {
    .modern-ui .welcome-page-content { padding: 40px 20px 56px; }
    .modern-ui .welcome-page-content-inner h1 { font-size: 28px; }
}
